package com.medical.system.converter;

import com.medical.system.model.vo.DeptVO;
import com.medical.system.model.entity.SysDept;
import com.medical.system.model.form.DeptForm;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface DeptConverter {


    DeptVO entity2Vo(SysDept sysDept);

    DeptForm entity2Form(SysDept sysDept);

    SysDept form2Entity(DeptForm deptForm);
}
